/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.edu.pucp.sigepa.recocidosimulado.random;


/**
 *
 * @author carloslengua
 */
public class Dados {
    
    public Integer lanzar() {

        Double numeroAleatorio = Math.random();
        
        Integer numeroAleatorioEntre0y999999 = ((Double) (numeroAleatorio*999999)).intValue();
        
        return numeroAleatorioEntre0y999999;
    }
    
}
